<div>
    <div>
        <div class="panel panel-default  m-n">
            <div class="panel-heading font-bold">乐鸽卷密码</div>
            <div class="panel-body">
                <form name="checkForm" role="form" class="ng-pristine ng-valid">
                    <div class="m-b-xs">
                        <label>乐鸽卷密码</label>
                        <input type="text" class="form-control" name="auth" placeholder="请输入乐鸽卷密码" ng-model="ordersCode.validationCode" maxlength="20" ng-pattern="/^([1-9][\d]*|0)(\.[\d]{1,2})?$/" required>
                        <input type="hidden" class="form-control" ng-model="ordersCode.id">
                    </div>
                    <div ng-if="checkForm.auth.$touched">
                        <p ng-if="checkForm.auth.$error.required" class="text-danger h6">请输入乐鸽卷密码</p>
                        <p ng-if="checkForm.auth.$error.pattern" class="text-danger h6">请输入数字</p>
                    </div>
                    <div class="text-center">
                        <div>
                            <button ng-click="checkCode()" ng-disabled="checkForm.$invalid" class="btn m-b-xs w-xs btn-info">确定</button>
                            <button class="btn m-b-xs w-xs btn-danger" ng-click="cancel()">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>